package com.system.queue.dto;
import com.system.queue.domain.Appointment;
import com.system.queue.domain.ConsultationRoom;
import com.system.queue.domain.Employee;
import com.system.queue.domain.Patient;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @className: VisitQueue
 * @description: 数据转换对象--就诊队列
 * @author: Kuangkeli
 * @date: 2023/11/28 15:28
 **/
@Data
public class VisitQueueDTO extends QueueDTO {

    private Long QueueId;

    /**
     * 排队号码
     */
    private String QueueNo;

    /**
     * 病人
     */
    private Patient patient;

    /**
     * 预约单
     */
    private Appointment appointment;

    /**
     * 诊室编号
     */
    private ConsultationRoom consultationRoom;

    /**
     * 号别
     */
    private String consultationName;

    /**
     * 就诊医生
     */
    private Employee employee;

    /**
     * 优先级
     */
    private Integer priority;


    /**
     * 序列时间
     */
    private LocalDateTime serialtm;


    /**
     * 入队时间
     */
    private LocalDateTime enqueuetm;

    /**
     * 出队时间
     */
    private LocalDateTime dequeuetm;

    /**
     * 呼叫次数
     */
    private Long callnum;

    /**
     * 状态:0不可用,1可用
     */
    private Integer state = 1;


}
